<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<script src="jQuery-2.1.4.min.js"></script>
		<title></title>
	</head>
	<style>
			#d1{
				width: 100px;
				height: 100px;
				border: 1px solid seagreen;
				visibility: hidden;
			}
		</style>
	<body>
		<div id="d1" onmousedown="ff(event)"></div>
		<div id="d2" onmousedown="ff(event)"></div>
		<script>
			$('#d1').keydown(function(e){
				console.log(11)
				if(e.keyCode==13){
					console.log(13)
				}
			});
			
			function ff (e){
				ctrlKey
				if(e.ctrlKey==1){
					console.log(13)
				}
				
				
				if(e.keyCode==13){
					console.log(13)
				}
			}
			
			
			var id = $("div:not(:visible)").attr("id");
			var id2 = $("div:first").attr("id");
			console.log(id)
//			console.log(id2)
//			onmousedown

		</script>
		
		
		
	</body>
</html>
